package com.bicon.base.data.pojo.botu;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 钱包明细
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("lk_wallet_detail")
public class LkWalletDetail extends Model<LkWalletDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 另一个用户id
     */
    @TableField("other_user_id")
    private String otherUserId;
    /**
     * 钱包id
     */
    @TableField("wallet_id")
    private String walletId;
    /**
     * 类型(0.收入，1.支出，2.充值，3.提现)
     */
    private String subjects;
    /**
     * 子类型(0.转账；4.拼手气红包；5.普通红包；6.个人对个人红包)
     */
    @TableField("subjects_child")
    private String subjectsChild;
    /**
     * 应用名称
     */
    @TableField("app_id")
    private String appId;
    /**
     * 模块名称
     */
    private String module;
    /**
     * 业务名称
     */
    private String business;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 交易类型（0:余额，1：支付宝，2：微信，3：银联）
     */
    @TableField("financial_type")
    private String financialType;
    /**
     * 金融账户id
     */
    @TableField("financial_id")
    private String financialId;
    /**
     * 订单号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 支付订单号
     */
    @TableField("pay_order_no")
    private String payOrderNo;
    /**
     * 支付信息
     */
    @TableField("pay_info")
    private String payInfo;
    /**
     * 结果 0:交易中 1:交易成功 2:交易失败 3交易取消 4待收款
     */
    private String state;
    /**
     * 备注
     */
    private String remark;
    /**
     * 操作时间
     */
    @TableField("operation_date")
    private Date operationDate;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 逻辑删除
     */
    @TableField("logic_delete")
    private String logicDelete;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOtherUserId() {
        return otherUserId;
    }

    public void setOtherUserId(String otherUserId) {
        this.otherUserId = otherUserId;
    }

    public String getWalletId() {
        return walletId;
    }

    public void setWalletId(String walletId) {
        this.walletId = walletId;
    }

    public String getSubjects() {
        return subjects;
    }

    public void setSubjects(String subjects) {
        this.subjects = subjects;
    }

    public String getSubjectsChild() {
        return subjectsChild;
    }

    public void setSubjectsChild(String subjectsChild) {
        this.subjectsChild = subjectsChild;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getFinancialType() {
        return financialType;
    }

    public void setFinancialType(String financialType) {
        this.financialType = financialType;
    }

    public String getFinancialId() {
        return financialId;
    }

    public void setFinancialId(String financialId) {
        this.financialId = financialId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(String payInfo) {
        this.payInfo = payInfo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getOperationDate() {
        return operationDate;
    }

    public void setOperationDate(Date operationDate) {
        this.operationDate = operationDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LkWalletDetail{" +
        "id=" + id +
        ", userId=" + userId +
        ", otherUserId=" + otherUserId +
        ", walletId=" + walletId +
        ", subjects=" + subjects +
        ", subjectsChild=" + subjectsChild +
        ", appId=" + appId +
        ", module=" + module +
        ", business=" + business +
        ", money=" + money +
        ", financialType=" + financialType +
        ", financialId=" + financialId +
        ", orderNo=" + orderNo +
        ", payOrderNo=" + payOrderNo +
        ", payInfo=" + payInfo +
        ", state=" + state +
        ", remark=" + remark +
        ", operationDate=" + operationDate +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", logicDelete=" + logicDelete +
        "}";
    }
}
